package com.zhz.mall.portal.dto;

import com.zhz.mall.portal.modules.oms.model.OmsCartItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/***
 * @author zhouhengzhe
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("购物车和库存的数据传输对象")
public class CartItemStockDTO extends OmsCartItem {
    @ApiModelProperty("真实库存（实际库存-锁定库存）")
    private Integer stock;
}
